package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "report_field")
public class ReportField {
	@Id
	@Column(name = "report_id")
	private Long reportId;

	@Id
	@Column(name = "field_name")
	private String fieldName;

	@Id
	@Column(name = "table_name")
	private String tableName;

	@Column(name = "field_header")
	private String fieldHeader;

	@Column(name = "field_type")
	private Integer fieldType;

	@Column(name = "field_type_name")
	private String fieldTypeName;

	@Column(name = "field_width")
	private Integer fieldWidth;

	@Column(name = "field_format")
	private String fieldFormat;

	@Column(name = "field_format_enum")
	private String fieldFormatEnum;

	@Column(name = "field_format_enum_sys")
	private Long fieldFormatEnumSys;

	@Column(name = "field_group")
	private String fieldGroup;

	@Column(name = "display_order")
	private Integer displayOrder;

	@Column(name = "visible_flag")
	private Integer visibleFlag;

	@Column(name = "search_flag")
	private Integer searchFlag;

	@Column(name = "search_enum")
	private String searchEnum;

	@Column(name = "search_dropdown_sql")
	private String searchDropdownSql;

	@Column(name = "search_cond_src_sys")
	private Long searchCondSrcSys;

	public Long getReportId() {
		return reportId;
	}

	public void setReportId(Long reportId) {
		this.reportId = reportId;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getFieldHeader() {
		return fieldHeader;
	}

	public void setFieldHeader(String fieldHeader) {
		this.fieldHeader = fieldHeader;
	}

	public Integer getFieldType() {
		return fieldType;
	}

	public void setFieldType(Integer fieldType) {
		this.fieldType = fieldType;
	}

	public String getFieldTypeName() {
		return fieldTypeName;
	}

	public void setFieldTypeName(String fieldTypeName) {
		this.fieldTypeName = fieldTypeName;
	}

	public Integer getFieldWidth() {
		return fieldWidth;
	}

	public void setFieldWidth(Integer fieldWidth) {
		this.fieldWidth = fieldWidth;
	}

	public String getFieldFormat() {
		return fieldFormat;
	}

	public void setFieldFormat(String fieldFormat) {
		this.fieldFormat = fieldFormat;
	}

	public String getFieldFormatEnum() {
		return fieldFormatEnum;
	}

	public void setFieldFormatEnum(String fieldFormatEnum) {
		this.fieldFormatEnum = fieldFormatEnum;
	}

	public Long getFieldFormatEnumSys() {
		return fieldFormatEnumSys;
	}

	public void setFieldFormatEnumSys(Long fieldFormatEnumSys) {
		this.fieldFormatEnumSys = fieldFormatEnumSys;
	}

	public String getFieldGroup() {
		return fieldGroup;
	}

	public void setFieldGroup(String fieldGroup) {
		this.fieldGroup = fieldGroup;
	}

	public Integer getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Integer getVisibleFlag() {
		return visibleFlag;
	}

	public void setVisibleFlag(Integer visibleFlag) {
		this.visibleFlag = visibleFlag;
	}

	public Integer getSearchFlag() {
		return searchFlag;
	}

	public void setSearchFlag(Integer searchFlag) {
		this.searchFlag = searchFlag;
	}

	public String getSearchEnum() {
		return searchEnum;
	}

	public void setSearchEnum(String searchEnum) {
		this.searchEnum = searchEnum;
	}

	public String getSearchDropdownSql() {
		return searchDropdownSql;
	}

	public void setSearchDropdownSql(String searchDropdownSql) {
		this.searchDropdownSql = searchDropdownSql;
	}

	public Long getSearchCondSrcSys() {
		return searchCondSrcSys;
	}

	public void setSearchCondSrcSys(Long searchCondSrcSys) {
		this.searchCondSrcSys = searchCondSrcSys;
	}
}